package com.gaokao.demo.mapper;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.gaokao.demo.entity.College;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author szs
 * @since 2021-01-22
 */
@Mapper
public interface CollegeMapper extends BaseMapper<College> {

    IPage<College> getCollegeList(IPage<College> page, @Param(Constants.WRAPPER) Wrapper<College> queryWrapper);

    List<String> getClassifys();

    List<Object> getSchoolBumens();


}
